var runtime.physPageSize
53 uses
runtime (current package)
arena.go#L209: if userArenaChunkBytes%physPageSize != 0 {
arena.go#L829: if uintptr(x)%physPageSize != 0 {
malloc.go#L368: var physPageSize uintptr
malloc.go#L417: if physPageSize == 0 {
malloc.go#L421: if physPageSize > maxPhysPageSize {
malloc.go#L422: print("system page size (", physPageSize, ") is larger than maximum page size (", maxPhysPageSize, ")\n")
malloc.go#L425: if physPageSize < minPhysPageSize {
malloc.go#L426: print("system page size (", physPageSize, ") is smaller than minimum page size (", minPhysPageSize, ")\n")
malloc.go#L429: if physPageSize&(physPageSize-1) != 0 {
malloc.go#L430: print("system page size (", physPageSize, ") must be a power of 2\n")
malloc.go#L892: size = physPageSize
malloc.go#L2454: if pEnd := alignUp(l.next-1, physPageSize); pEnd > l.mapped {
mem_linux.go#L43: if uintptr(v)&(physPageSize-1) != 0 || n&(physPageSize-1) != 0 {
mem_linux.go#L117: if uintptr(v)&(physPageSize-1) != 0 {
mem_linux.go#L126: if uintptr(v)&(physPageSize-1) != 0 {
mgcmark_greenteagc.go#L715: pageCap := uint32(physPageSize / goarch.PtrSize) // capacity of a single page
mgcscavenge.go#L211: gcPercentGoal = (gcPercentGoal + uint64(physPageSize) - 1) &^ (uint64(physPageSize) - 1)
mgcscavenge.go#L229: if heapRetainedNow <= gcPercentGoal || heapRetainedNow-gcPercentGoal < uint64(physPageSize) {
mgcscavenge.go#L613: worked += approxWorkedNSPerPhysicalPage * float64(r/physPageSize)
mgcscavenge.go#L634: if released > 0 && released < physPageSize {
mgcscavenge.go#L749: minPages := physPageSize / pageSize
mgcscavenge.go#L962: if physHugePageSize > pageSize && physHugePageSize > physPageSize {
mheap.go#L1233: needPhysPageAlign := physPageAlignedStacks && typ == spanAllocStack && pageSize < physPageSize
mheap.go#L1267: extraPages := physPageSize / pageSize
mheap.go#L1290: base = alignUp(base, physPageSize)
mheap.go#L1569: nBase := alignUp(end, physPageSize)
mheap.go#L1622: nBase = alignUp(h.curArena.base+ask, physPageSize)
mpagealloc_64bit.go#L78: b := alignUp(uintptr(entries)*pallocSumBytes, physPageSize)
mpagealloc_64bit.go#L118: baseOffset := alignDown(uintptr(sumIdxBase)*pallocSumBytes, physPageSize)
mpagealloc_64bit.go#L119: limitOffset := alignUp(uintptr(sumIdxLimit)*pallocSumBytes, physPageSize)
mpagealloc_64bit.go#L207: needMin := alignDown(uintptr(chunkIndex(base)), physPageSize/scSize)
mpagealloc_64bit.go#L208: needMax := alignUp(uintptr(chunkIndex(limit)), physPageSize/scSize)
os_linux.go#L272: physPageSize = n
os_linux.go#L276: if physPageSize == 0 {
os_linux.go#L277: physPageSize = size
os_linux.go#L315: physPageSize = val
runtime.go#L125: func syscall_Getpagesize() int { return int(physPageSize) }
signal_unix.go#L881: if n > physPageSize-pc%physPageSize {
signal_unix.go#L882: n = physPageSize - pc%physPageSize
stack.go#L360: n = uint32(alignUp(uintptr(n), physPageSize))
vgetrandom_linux.go#L52: allocSize := (num*stateSizeCacheAligned + physPageSize - 1) &^ (physPageSize - 1)
vgetrandom_linux.go#L53: num = (physPageSize / stateSizeCacheAligned) * (allocSize / physPageSize)
vgetrandom_linux.go#L65: if (newBlock&(physPageSize-1))+vgetrandomAlloc.stateSize > physPageSize {
vgetrandom_linux.go#L66: newBlock = (newBlock + physPageSize - 1) &^ (physPageSize - 1)
 |
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |